package org.wzl.springapplication.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import org.wzl.springapplication.utils.Result;

@RestController
public class TestController {

    @GetMapping("/test/{msg}")
    public String test(@PathVariable String msg) {
        System.out.println(msg);
        return "msg" + msg;
    }

}
